package com.woniuxy.ticketuser.configuration;

import com.netflix.loadbalancer.ILoadBalancer;
import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.Server;

import java.util.Random;

/**
 * @ClassName MyRules
 * @Description TODO
 * @Author zx
 * @Date 2021-02-23 16:36:50
 * @Version 1.0
 */
public class MyRules implements IRule {

    Random random;

    public MyRules() {
        random = new Random();
    }

    @Override
    public Server choose(Object o) {
        return null;
    }

    @Override
    public void setLoadBalancer(ILoadBalancer iLoadBalancer) {

    }

    @Override
    public ILoadBalancer getLoadBalancer() {
        return null;
    }
}
